package com.excellent.mvvm.adapter

import android.content.Context
import android.view.ViewGroup
import com.chad.library.adapter4.BaseQuickAdapter
import com.chad.library.adapter4.viewholder.QuickViewHolder

/**
 *@author : hfj
 */
abstract class QuickAdapter<T : Any>(private val layoutResId: Int) :
    BaseQuickAdapter<T, QuickViewHolder>() {
    override fun onCreateViewHolder(
        context: Context,
        parent: ViewGroup,
        viewType: Int
    ): QuickViewHolder {
        return QuickViewHolder(layoutResId, parent)
    }
}
